if (Meteor.isClient) {
  var img_data = [
    {
      img_src: "ava.png",
      img_alt: "one image"
    },
    {
      img_src: "ava.png",
      img_alt: "another image"
    }
  ];
  
  Template.images.helpers({images:img_data});
  
  Template.images.events({
    'click .js-image':function(event) {
      $(event.target).css("width", "50px");
    }
  });
}

if (Meteor.isServer) {
  console.log('I am the server');
}
